<template>
  <div id="logistics">
    <div id="bt">
      <div id="xxx">
        <div id="img"></div>
        <div id="bts">HALF GO</div>
        <div id="na">小可爱</div>
        <div id="id">ID:12121122</div>
      </div>
      <div id="img1">
        <img src="../../assets/img/消息-图标@3x.png" alt />
      </div>
      <div id="img2">
        <img src="../../assets/img/设置-图标@3x.png" alt />
      </div>
    </div>

    <div id="neirong" v-show="wei">
      <div id="lb">
        <span>
          <img src="../../assets/img/头像@3x.png" alt />
        </span>
        <div id="no">
          未收货
          <div id="xian"></div>
        </div>
        <div id="yes" @click="yishouhuo">已收货</div>
      </div>

      <div id="dingdan" v-show="wei">
        <div id="shop">
          <img
            src="http://www.starrymedia.vip/public/upload/goods/2020/04-20/91895035516a9ed49ef8b3cab96940b7.png"
            alt
          />
        </div>
        <div id="shopid">
          <div id="orderid">订单编号</div>
          <div id="paytime">下单时间</div>
          <div id="money">￥699.00</div>
        </div>
        <div id="orderlog">702388694321005</div>
        <div id="time">
          <div id="year">2020-03-02</div>
          <div id="day">18:20:01</div>
        </div>
        <div id="btn">
          <div id="close"  @click="open">{{chakanwuliu==1?"查看物流":"关闭"}}</div>
          <div id="sure">确认收货</div>
        </div>
      </div>
      <div id="xinxi" v-show="closeinfo">
        <div id="dizhi">收货地址</div>
        <div id="shoujian">
          收件人
          <div id="name">班先生</div>
        </div>
        <div id="phonenum">
          手机号
          <div id="phone">188 9669 1188</div>
        </div>
        <div id="address">
          收货地址
          <div id="add">上海市 松江区 松江大学城</div>
        </div>
        <div id="peisong">配送信息</div>
        <div id="gongsi">
          配送公司
          <div id="gongsiname">顺丰快递</div>
        </div>
        <div id="peisongid">
          配送单号
          <div id="danhao">123456885625696965</div>
        </div>
        <div id="peisongtime">
          配送时间
          <div id="shijian">2020-03-02 18:20:01</div>
        </div>
      </div>
    </div>

    <div id="dingdan" v-show="yi">
        <div id="shop">
          <img
            src="http://www.starrymedia.vip/public/upload/goods/2020/04-20/91895035516a9ed49ef8b3cab96940b7.png"
            alt
          />
        </div>
        <div id="shopid">
          <div id="orderid">订单编号</div>
          <div id="paytime">下单时间</div>
          <div id="money">￥699.00</div>
        </div>
        <div id="orderlog">702388694321005</div>
        <div id="time">
          <div id="year1">2020-03-02</div>
          <div id="day1">18:20:01</div>
        </div>
        <div id="btn">点击详情</div>
      </div>


  </div>
</template>
<script>
export default {
 data(){
   return{
     closeinfo:false,
     chakanwuliu:1,
     wei:true,
     yi:false
   }
 },
 methods: {
   open(){
     this.chakanwuliu=!this.chakanwuliu
     this.closeinfo=!this.closeinfo
   },
    yishouhuo(){
      this.wei=!this.wei
      this.yi=!this.yi
    }
 }
};
</script>
<style scoped>
#logistics {
  width: 100%;
  height: 100%;
}
#xxx {
  width: 100%;
  height: 100%;
}
#img {
  width: 100%;
  height: 80%;
  background-image: url("../../assets/img/个人中心.jpg");
  background-position: 0px -30px;
  background-size: cover;
  filter: blur(10px);
  transform: scale(1.1);
}
#bt {
  width: 100%;
  height: 43%;
  font-family: "DINCond-BlackAlternate";
  color: white;
  float: left;
}
#img1 img {
  float: right;
  width: 17px;
  height: 19px;
  position: absolute;
  top: 220px;
  right: 21px;
}
#img2 img {
  float: right;
  width: 20px;
  height: 19px;
  position: absolute;
  top: 220px;
  right: 55px;
}
#bts {
  /* margin: 53px 0 0 53px; */
  font-size: 24px;
  line-height: 20px;
  position: absolute;
  z-index: 1000;
  left: 40px;
  top: 52px;
}
#na {
  font-size: 13px;
  font-weight: 800;
  line-height: 12px;
  color: white;
  font-family: "PingFang-SC-Bold";
  position: absolute;
  z-index: 10000;
  left: 37px;
  top: 116px;
}
#id {
  font-size: 13px;
  line-height: 12px;
  font-family: "DINPro Medium";
  position: absolute;
  left: 37px;
  top: 147px;
}
#neirong {
  width: 100%;
  height: 57%;
  overflow: hidden;
  background-color: white;
}
#lb {
  width: 100%;
  height: 60px;
  background-color: #f8f8f8;
  border: 1px solid #f8f8f8;
  position: absolute;
  margin: -65px 0 0 0;
}
#lb img {
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -5px;
  position: relative;
  left: -160px;
}
#no {
  width: 187.5px;
  height: 60px;
  float: left;
  text-indent: 120px;
  line-height: 42px;
  font-weight: 900;
}
#xian {
  width: 30px;
  height: 1px;
  border: 1px solid black;
  margin: -5px 0 0 122px;
  box-shadow: 2px 2px 5px #888888;
}
#yes {
  color: rgb(153, 153, 153);
  width: 185.5px;
  height: 60px;
  float: right;
  text-indent: 41.5px;
  line-height: 42px;
  margin: -30px 0 0 0;
}
#dingdan {
  margin: 0 auto;
  width: 340px;
  height: 106px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-left: none;
  border-right: none;
  border-top: none;
  /* margin: -15px 0 0 0; */
}
#shop img {
  width: 66px;
  height: 32px;
  float: left;
  margin: 20px 0 0 5px;
}
#shopid {
  float: left;
  margin: 5px 0 0 25px;
}
#orderid {
  color: rgb(184, 184, 184);
}
#paytime {
  color: rgb(184, 184, 184);
  margin: 13px 0 0 0;
}
#money {
  margin: 15px 0 0 0;
  color: rgb(3, 3, 3);
  font-weight: 800;
  font-size: 13px;
  font-family: "DINPro-Bold";
}
#orderlog {
  color: rgb(184, 184, 184);
  margin: 21px 17px 0 244px;
  font-family: "DINPro Medium";
}
#time {
  color: rgb(184, 184, 184);
  margin: 18px 0 0 200px;
  font-family: "DINPro Medium";
}
#year {
  float: left;
  margin: 0 0 0 26px;
}
#day {
  float: right;
}
#btn {
  margin: 50px 0 0 190px;
}
#close {
  width: 60px;
  height: 20px;
  color: rgb(153, 153, 153);
  text-align: center;
  border: 1px solid #ccc;
  float: left;
  border-radius: 2px;
  line-height: 20px;
}
#sure {
  width: 60px;
  height: 20px;
  float: right;
  background: black;
  color: white;
  text-align: center;
  border-radius: 2px;
  line-height: 20px;
  font-family: "PingFang-SC-Medium";
}
#xinxi {
  margin: 0 auto;
  width: 317px;
  height: 221px;
}
#dizhi {
  line-height: 14px;
  margin: 20px 0 0 0;
  font-size: 13px;
  font-weight: 800;
}
#shoujian {
  line-height: 13px;
  margin: 18px 0 0 0;
  color: rgb(153, 153, 153);
}
#name {
  float: right;
}
#phonenum {
  line-height: 13px;
  margin: 18px 0 0 0;
  color: rgb(153, 153, 153);
}
#phone {
  float: right;
  font-family: "DINPro Medium";
}
#address {
  line-height: 13px;
  margin: 18px 0 0 0;
  color: rgb(153, 153, 153);
}
#add {
  float: right;
}
#peisong {
  line-height: 13px;
  margin: 28px 0 0 0;
  font-weight: 800;
  font-size: 13px;
}
#gongsi {
  line-height: 13px;
  margin: 17px 0 0 0;
  color: rgb(153, 153, 153);
}
#gongsiname {
  float: right;
}
#peisongid {
  line-height: 13px;
  margin: 13px 0 0 0;
  color: rgb(153, 153, 153);
}
#danhao {
  float: right;
  font-family: "DINPro Medium";
}
#peisongtime {
  line-height: 13px;
  margin: 14px 0 72px 0;
  color: rgb(153, 153, 153);
}
#shijian {
  float: right;
  font-family: "DINPro Medium";
}
</style>